import { createRouter, createWebHashHistory } from 'vue-router';

const routes = [
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/constant/login/index.vue')
  },
  {
    path: '/404',
    name: '404',
    component: () => import('@/views/constant/404/index.vue')
  },
  {
    path: '/403',
    name: '403',
    component: () => import('@/views/constant/403/index.vue')
  },
  {
    path: '/icons',
    name: 'Icons',
    component: () => import('@/views/constant/icons/index.vue')
  }
];

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;
